package com.quickask.idao;

import com.quickask.entity.AsknowCollectionEntity;

import java.util.List;

/**
 * Created by Administrator on 2015/9/30.
 */
public interface ICollectionDao {
    /**
     * 添加问题收藏
     * @param asknowCollectionEntity 收藏实体
     */
    public void addCollectedItem(AsknowCollectionEntity asknowCollectionEntity);

    /**
     * 获取用户收藏列表
     * @param userId 用户id
     * @return
     */
    public List<AsknowCollectionEntity> getCollectedItemList(int userId);
}
